b173debbf5196394518467a19db108d6e383c5a6,portal-impl/test/integration/com/liferay/portal/service/UserGroupRoleServiceTest.java,UserGroupRoleServiceTest,testOrganizationAdminRemovingSiteOwnerRoleByRoles,#,614

Before Change


	public void testOrganizationAdminRemovingSiteOwnerRoleByRoles()
		throws Exception {

		Organization organization = OrganizationTestUtil.addOrganization(true);

		Role role = RoleLocalServiceUtil.getRole(
			TestPropsValues.getCompanyId(), RoleConstants.SITE_OWNER);

		User subjectUser = UserTestUtil.addOrganizationAdminUser(organization);
		User objectUser = UserTestUtil.addGroupOwnerUser(
			organization.getGroup());

		try {
			deleteUserGroupRolesByRole(

After Change


	public void testOrganizationAdminRemovingSiteOwnerRoleByRoles()
		throws Exception {

		_organization = OrganizationTestUtil.addOrganization(true);

		Role role = RoleLocalServiceUtil.getRole(
			TestPropsValues.getCompanyId(), RoleConstants.SITE_OWNER);

		_subjectUser = UserTestUtil.addOrganizationAdminUser(_organization);
		_objectUser = UserTestUtil.addGroupOwnerUser(_organization.getGroup());

		try {
			deleteUserGroupRolesByRole(